package org.linlinjava.litemall.admin.vo.hospital_send;

import org.linlinjava.litemall.db.vo.shop.HospitalSelfLocationVo;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author wj
 * @date 2021/12/7 10:04
 */
public class HospitalSendVo {


    private Integer id;

    @NotNull(message = "医院名称不能为空")
    private String hospitalName;

    private Integer provinceId;

    private Integer cityId;

    private Integer villageId;

    private String province;

    private String city;

    private String village;

    private String addressDetail;

    @NotBlank(message = "门店不能为空")
    private String storeIds;

    @NotNull(message = "商品类型不能为空")
    private Integer goodsType;

    private List<HospitalSendGoodsVo> goodsData;

    private List<HospitalSendStoreVo> storeData;

    private BigDecimal lng;

    private BigDecimal lat;


    //新增自提位置相关
    private List<@Valid HospitalSelfLocationVo> hospitalSelfLocation;

    public List<HospitalSelfLocationVo> getHospitalSelfLocation() {
        return hospitalSelfLocation;
    }

    public void setHospitalSelfLocation(List<HospitalSelfLocationVo> hospitalSelfLocation) {
        this.hospitalSelfLocation = hospitalSelfLocation;
    }

    public List<HospitalSendStoreVo> getStoreData() {
        return storeData;
    }

    public void setStoreData(List<HospitalSendStoreVo> storeData) {
        this.storeData = storeData;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getHospitalName() {
        return hospitalName;
    }

    public void setHospitalName(String hospitalName) {
        this.hospitalName = hospitalName;
    }

    public Integer getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    public Integer getCityId() {
        return cityId;
    }

    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    public Integer getVillageId() {
        return villageId;
    }

    public void setVillageId(Integer villageId) {
        this.villageId = villageId;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getVillage() {
        return village;
    }

    public void setVillage(String village) {
        this.village = village;
    }

    public String getAddressDetail() {
        return addressDetail;
    }

    public void setAddressDetail(String addressDetail) {
        this.addressDetail = addressDetail;
    }

    public String getStoreIds() {
        return storeIds;
    }

    public void setStoreIds(String storeIds) {
        this.storeIds = storeIds;
    }

    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public List<HospitalSendGoodsVo> getGoodsData() {
        return goodsData;
    }

    public void setGoodsData(List<HospitalSendGoodsVo> goodsData) {
        this.goodsData = goodsData;
    }

    public BigDecimal getLng() {
        return lng;
    }

    public void setLng(BigDecimal lng) {
        this.lng = lng;
    }

    public BigDecimal getLat() {
        return lat;
    }

    public void setLat(BigDecimal lat) {
        this.lat = lat;
    }
}
